

local printx = debug.printx

function __init__(self)
    self:TestAoi()
end

function CreateSceneUser(self, oci)
    local obj = ALL_CLASS.clsSceneUser:New()
    obj:OnCreate(oci)
    return obj
end

function TestAoi(self)
    local playerA = self:CreateSceneUser({Uid = 1})
    ALL_SCENE:GotoScene(playerA, 1, {1,1}, 1)
    
    local playerB = self:CreateSceneUser({Uid = 2})
    ALL_SCENE:GotoScene(playerB, 1, {1,1}, 1)

    local playerC = self:CreateSceneUser({Uid = 3})
    ALL_SCENE:GotoScene(playerC, 1, {1,1}, 1)

    playerB:Goto(3, 3)

    playerB:LeaveScene()
end

